home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2047 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  554 b 

  1. Path: news.production.compuserve.com!news
  2. From: Tal Garfinkel <73400.667@CompuServe.COM>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: renaming file names from within C!
  5. Date: 18 Jan 1996 19:16:46 GMT
  6. Organization: CompuServe, Inc. (1-800-689-0736)
  7. Message-ID: <4dm6au$t93$3@mhafc.production.compuserve.com>
  8. References: <4dh7sb$6de@hammerhead.dadd.ti.com>
  9.  
  10. To rename a file use the function rename in <stdio.h>
  11.  
  12. the prototype is
  13.  
  14.  int rename(const char * oldname, const char * newname)
  15.  
  16. Study the standard library my son so that you may become wise in 
  17. its ways.
  18.